package com.zhumo.sz.entity.bus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.sql.Timestamp;

/**
 * 长途大巴
 *
 * id INT 自增id PRIMARY KEY
 * bus_id BIGINT 客运大版唯一标识
 * bus_card VARCHAR 车牌号
 * driver_id VARCHAR 责任司机id
 * station_id BIGINT 所属客运站id
 * on_board_ticket_seller_id BIGINT 车上售票员id FOREIGH KEY
 * region_time TIMESTAMP 车辆生产年份
 * on_use_time TIMESTAMP 投入运行时间
 * delete_time TIMESTAMP 停止使用时间
 * is_enabled TINYINT 是否有效
 * create_time TIMESTAMP 创建时间
 * update_time TIMESTAMP 更新时间
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "长途客运汽车",description = "长途客运车表")
public class LengthBus {

    @ApiModelProperty("自增主键")
    private Integer id;

    @ApiModelProperty("长途客运车唯一标识")
    private Long busId;

    @ApiModelProperty("车牌号")
    private String busCard;

    @ApiModelProperty("司机id")
    private String driverId;

    @ApiModelProperty("公交站id")
    private String stationCode;

    @ApiModelProperty("车内售票人员编码")
    private String  onBoardTicketSellerId;

    @ApiModelProperty("汽车注册年份")
    private String regionYear;

    @ApiModelProperty("投入运行时间")
    private Timestamp onUseTime;

    @ApiModelProperty("是否有效")
    private Boolean isEnabled;

    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @ApiModelProperty("状态更新时间")
    private Timestamp updateTime;
}


